<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>

<!DOCTYPE html>

<html>

<head>

  <title>Session 信息</title>

</head>

<body>

  <h1>Session 信息</h1>

  <p>Session ID: <%= session.getId() %></p>

  <p>名字: <%= session.getAttribute("name") %></p>

</body>

</html>